import Home from '../components/Home.vue';
import News from '../components/News.vue';

// 路由规则文件
export default [
    {
        path: '/home',
        component: Home
    },
    {
        path: '/news',
        component: News
    },
    {
        path: '*',
        redirect: '/home'
    }
]